const MESSAGE_TYPE = {
	TEXT: 0, //文字
	IMAGE: 1, //图片
	FILE: 2, //文件
	AUDIO: 3, //音频
	VIDEO: 4, //视频
	RECALL: 10, //撤回
	READED: 11, //已读
	RECEIPT: 12, //消息已读回执
	SYSTEM_MSG:13,//系统消息
	FRIEND_APPLY: 14, //好友申请
	FRIEND_APPLY_PASS:15, //好友申请通过
	GROUP_APPLY: 16, //群聊申请
	TOPIC_RED:17,//帖子_小红点
	TOPIC_REPLY: 18, //帖子_回复
	NEW_POSTS: 19, //新帖子
	TIP_TIME: 20, //时间提示
	TIP_TEXT: 21, //文字提示
	LOADING: 30, //加载中
	ACT_RT_VOICE: 40,
	ACT_RT_VIDEO: 41,
	USER_BANNED: 50,
	RTC_CALL_VOICE: 100, //语音呼叫
	RTC_CALL: 101, //视频呼叫
	RTC_ACCEPT: 102, //接受
	RTC_REJECT: 103, //拒绝
	RTC_CANCEL: 104, //取消呼叫
	RTC_FAILED: 105, //呼叫失败
	RTC_HANDUP: 106, //挂断
	RTC_CANDIDATE: 107, //同步candidate
	RTC_GROUP_SETUP: 200,//群聊设置
	RTC_GROUP_ACCEPT: 201,//群聊接受
	RTC_GROUP_REJECT: 202,//群聊拒绝
	RTC_GROUP_FAILED: 203,//群聊失败
	RTC_GROUP_CANCEL: 204,//群聊取消
	RTC_GROUP_QUIT: 205,//群聊退出
	RTC_GROUP_INVITE: 206,//群聊邀请
	RTC_GROUP_JOIN: 207,//群聊加入
	RTC_GROUP_OFFER: 208,//群聊offer
	RTC_GROUP_ANSWER: 209,//群聊answer
	RTC_GROUP_CANDIDATE: 210,//群聊candidate
	RTC_GROUP_DEVICE: 211//群聊设备
}



const RTC_STATE = {
	FREE: 0, //空闲，可以被呼叫
	WAIT_CALL: 1, // 呼叫后等待
	WAIT_ACCEPT: 2, // 被呼叫后等待
	ACCEPTED: 3, // 已接受聊天，等待建立连接
	CHATING: 4 // 聊天中
}

const TERMINAL_TYPE = {
	WEB: 0,
	APP: 1
}

const MESSAGE_STATUS = {
	UNSEND: 0,
	SENDED: 1,
	RECALL: 2,
	READED: 3
}


export {
	MESSAGE_TYPE,
	RTC_STATE,
	TERMINAL_TYPE,
	MESSAGE_STATUS
}